package com.flower.subject.domain.service;

import com.flower.subject.domain.entity.SubjectCategoryBO;
import com.flower.subject.domain.entity.SubjectInfoBO;
import com.flower.subject.entity.PageResult;
import com.flower.subject.infra.basic.entity.SubjectCategory;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author lavender
 * @version 1.0
 * @date 2024-07-03 11:29
 */

public interface SubjectCategoryDomainService {

    void add(SubjectCategoryBO bo);

    /**
     * 查询岗位大类
     * @return
     */
    List<SubjectCategoryBO> queryPrimaryCategory(SubjectCategory subjectCategory);


    /**
     * 查询岗位大类
     * @return
     */
    List<SubjectCategoryBO> queryCateGory(SubjectCategoryBO subjectCategory);

    Boolean update(SubjectCategoryBO subjectCategoryBO);

    Boolean delete(SubjectCategoryBO subjectCategoryBO);

    PageResult<SubjectInfoBO> getSubjectPage(SubjectInfoBO subjectInfoBO);
}
